package com.hm.add1_8;

public abstract class Emp {
    private String id;
    private String  name;
    private int age;
    public final void  notice(){
        System.out.println("通知：");
        info();
        System.out.println("必胜客环游公司");
    }

  public abstract  void info() ;

    @Override
    public String toString() {
        return "Emp{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", age=" + age +
                '}';
    }
}
